home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gslparam.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.5 KB  |  47 lines

  1. /* Copyright (C) 1995, 1997 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gslparam.h,v 1.2 2000/09/19 19:00:29 lpd Exp $ */
  20. /* Line parameter definitions */
  21.  
  22. #ifndef gslparam_INCLUDED
  23. #  define gslparam_INCLUDED
  24.  
  25. /* Line cap values */
  26. typedef enum {
  27.     gs_cap_butt = 0,
  28.     gs_cap_round = 1,
  29.     gs_cap_square = 2,
  30.     gs_cap_triangle = 3        /* not supported by PostScript */
  31. } gs_line_cap;
  32.  
  33. #define gs_line_cap_max 3
  34.  
  35. /* Line join values */
  36. typedef enum {
  37.     gs_join_miter = 0,
  38.     gs_join_round = 1,
  39.     gs_join_bevel = 2,
  40.     gs_join_none = 3,        /* not supported by PostScript */
  41.     gs_join_triangle = 4    /* not supported by PostScript */
  42. } gs_line_join;
  43.  
  44. #define gs_line_join_max 4
  45.  
  46. #endif /* gslparam_INCLUDED */
  47.